package net.wanho.util;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import net.wanho.vo.AjaxResult;

/**
 * Author：汤小洋
 * Date：2025-08-07 10:10
 * Description：<描述>
 */
public class BlockExceptionUtil {

    public static AjaxResult handleException(Integer id, BlockException e){
        return AjaxResult.fail("Sentinel限流，请稍后再试：" + e);
    }
}
